package com.roy.netty.server;

public class BootStrap {

	private MyNettyServer server = new MyNettyServer();
	
	public void boot() throws Exception {
		try {
			server.start();
		}catch(Exception e) {
			server.stop();
			throw e;
		}
		
	}

}
